﻿using com.guojin.core.io;
using com.guojin.core.io.message;

namespace com.guojin.mj.net.message.login
{
    public class WarRecordListReq : Message
    {
        public static int TYPE = 7;
        public static int ID = 19;

        public string  UserID { get; set; }

        public void decode(Input _in)
        {
        }

        public void encode(Output _out)
        {
            _out.writeString(UserID);
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "WarRecordListReq[_userID=" + UserID + " ]";
        }

        public static WarRecordListReq Creat(string  userID)
        {
            var rhl = new WarRecordListReq();
            rhl.UserID = userID ;
            return rhl;
        }
    }
}